home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 036a / syscols.zip / SYSCOLS.HLP (.txt) < prev    next >
OS/2 Help File  |  1991-06-22  |  11KB  |  383 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. PM System Color Keys ΓòÉΓòÉΓòÉ
  3.  
  4. Accelerator mnemonic keys: 
  5.  
  6. F3 
  7.    Exit 
  8.  
  9. F1 
  10.    Help 
  11.  
  12.    Reset 
  13.  
  14.    reaD 
  15.  
  16.    Keep 
  17.  
  18.    Write 
  19.  
  20.    Set 
  21.  
  22.    deLete 
  23.  
  24.    seT 
  25.  
  26.    saVe 
  27.  
  28.  
  29. ΓòÉΓòÉΓòÉ 2. Extended Help for PM System Colors ΓòÉΓòÉΓòÉ
  30.  
  31. This program offers configuration of OS/2 Presentation Manager's system colors. 
  32. It offers several advantages over OS/2's Control Panel.  These include: 
  33.  - 32 system colors can be changed whereas the Control Panel only allows 
  34. configuration of 26 colors. 
  35.  - Most color changes are visible immediately. 
  36.  - Sample Color Templates are available.  Additional Templates can be created, 
  37. or existing ones can be modified. 
  38.  - Colors can be set temporarily or permanently. 
  39.  - A color template can be loaded from the command line (ideal for use in .CMD 
  40. files). 
  41.  
  42. The system colors in OS/2 1.x are: 
  43. ButtonLight - Top and left edges of scrollbar slider box 
  44. ButtonMiddle (+) - Scrollbar slider box and pushbuttons 
  45. ButtonDark - Right and botton edges of scroll bar slider box 
  46. ButtonDefault - Outline of default pushbutton 
  47. TitleBottom - Thin line outlining action or menu bar 
  48. Shadow -  Shadow around edge of pull down menus 
  49. IconText -  Text under icons 
  50. DialogBackground (*) -  Background for dialogue boxes 
  51. HiLiteForeground - Text of hilighted selection 
  52. HiLiteBackground (*) - Hilighted selection menu bar 
  53. InActiveTitleTextBgnd (=) - Inactive title-text background 
  54. ActiveTitleTextBgnd (=) - Active title-text background 
  55. InActiveTitleText - Text of menu or action bar on inactive windows 
  56. ActiveTitleText - Text of menu or action bar on active window (window with 
  57. focus) 
  58. OutputText - Appears in dialogue boxes as default text in entry fields 
  59. WindowStaticText - Static window text 
  60. ScrollBar - Background for scroll bar (note: not slider box) 
  61. Background - Screen background 
  62. ActiveTitle - Text on title bar of active window 
  63. InActiveTitle - Text on title bar of inactive window 
  64. Menu - Menu or action bar background 
  65. Window (*) - Background of window 
  66. WindowFrame - Thin border line outlining all windows 
  67. MenuText - Text of menu or action bar 
  68. WindowText - Window normal text 
  69. TitleText - (=) Title text 
  70. ActiveBorder - Border around active window (window with focus) 
  71. InActiveBorder - Border around inactive windows 
  72. AppWorkSpace - Application background 
  73. HelpBackground (*) - Background for help screens 
  74. HelpText - Text for help screens 
  75. HelpHiLite - Highlighted text for help screens 
  76.  
  77. (*) indicates that only pure colors can be applied to this system object 
  78. (+) non-pure colors can be applied to scroll box slider buttons, but not to 
  79. push buttons. 
  80. Apparently, Presentation Manager does it's best to find matching display colors 
  81. for the colors you choose, however for colors applied to certain system 
  82. objects, the results may be different from that displayed in the sample color 
  83. area.  This is most likely due to Presentation Manager's rejection of dithered 
  84. colors for some settings.  Those system objects that do not seem compatible are 
  85. marked with (*). 
  86. (=) On the OS/2 systems I have had experience with, setting colors for these 
  87. system objects has no visible effect.  I'm not positive where these system 
  88. objects appear, but apparently they have something to do with 'Function Key 
  89. Areas'.  At any rate, they are documented as system colors and may very well be 
  90. "reserved for future use"  items.  If anyone can provide  a screen or 
  91. application where these colors appear, I would greatly appreciate the 
  92. information. 
  93.  
  94. Actions for PM System Color Configuration: 
  95.  
  96. The following actions may be invoked by clicking on the pushbutton 
  97. corresponding to the action, or by pressing the letter corresponding to the 
  98. underlined mnemonic character. 
  99.  
  100.    Reset to original colors 
  101.  
  102.    Read data file containing color codes to set 
  103.  
  104.    Keep current screen colors for future sessions (Save to OS/2's .INI file) 
  105.  
  106.    Write current color codes to data file 
  107.  
  108.    Set colors to those defined by the color template selected in the Color 
  109. Templates list box 
  110.  
  111.    Delete color template 
  112.  
  113.    Set system colors object (i.e. Icon Text, Window Text, Background) to the 
  114. color displayed in the sample color region 
  115.  
  116.    Save the currently selected system colors object and the color selected in 
  117. the sample area to an existing or new Color Template 
  118.  
  119.  
  120. ΓòÉΓòÉΓòÉ 3. Help for Reset ΓòÉΓòÉΓòÉ
  121.  
  122. This action resets the colors back to the ones which were active when this 
  123. program was invoked  (which may or may not be OS/2's original colors depending 
  124. upon if you have changed them with Control Panel). 
  125.  
  126.  
  127. ΓòÉΓòÉΓòÉ 4. Help for Read ΓòÉΓòÉΓòÉ
  128.  
  129. This action reads a data file containing color codes to set.  The data file 
  130. must be a pure ASCII text file containing one line for each of the 32 colors. 
  131. If you like the colors loaded from the data file, use the action Save to save 
  132. the colors to a template name. 
  133.  
  134. The order of the colors in the data file is as follows: 
  135.  
  136.   1. ButtonLight 
  137.  
  138.   2. ButtonMiddle 
  139.  
  140.   3. ButtonDark 
  141.  
  142.   4. ButtonDefault 
  143.  
  144.   5. TitleBottom 
  145.  
  146.   6. Shadow 
  147.  
  148.   7. IconText 
  149.  
  150.   8. DialogBackground 
  151.  
  152.   9. HiLiteForeground 
  153.  
  154.  10. HiLiteBackground 
  155.  
  156.  11. InActiveTitleTextBgnd 
  157.  
  158.  12. ActiveTitleTextBgnd 
  159.  
  160.  13. InActiveTitleText 
  161.  
  162.  14. ActiveTitleText 
  163.  
  164.  15. OutputText 
  165.  
  166.  16. WindowStaticText 
  167.  
  168.  17. ScrollBar 
  169.  
  170.  18. Background 
  171.  
  172.  19. ActiveTitle 
  173.  
  174.  20. InActiveTitle 
  175.  
  176.  21. Menu 
  177.  
  178.  22. Window 
  179.  
  180.  23. WindowFrame 
  181.  
  182.  24. MenuText 
  183.  
  184.  25. WindowText 
  185.  
  186.  26. TitleText 
  187.  
  188.  27. ActiveBorder 
  189.  
  190.  28. InActiveBorder 
  191.  
  192.  29. AppWorkSpace 
  193.  
  194.  30. HelpBackground 
  195.  
  196.  31. HelpText 
  197.  
  198.  32. HelpHiLite 
  199.  
  200.  OS/2 specifies colors with 24 bits of Red-Green-Blue intensity information. 
  201.  Since there are 8 bits for each color, the valid ranges are from 0 to 255. The 
  202.  integers represent the Red, Green, and Blue components of an RGB color value. 
  203.  
  204.  Some example colors are: 
  205.  
  206.   White   255  255  255
  207.   Yellow  255  255    0
  208.   Pink    255    0  255
  209.   Cyan      0  255  255
  210.   Blue      0    0  255
  211.   Green     0  255    0
  212.   Red     255    0    0
  213.   Black     0    0    0
  214.  
  215.  The data file should contain a line for each of the 32 colors in the order 
  216.  outlined above.  The leftmost integer is the Red value, the middle integer is 
  217.  the Green value, and the rightmost integer is the Blue value. 
  218.  
  219.  Sample data file: 
  220.  
  221.   255 255 255
  222.   204 204 204
  223.   128 128 128
  224.     0   0   0
  225.   204 204 204
  226.   128 128 128
  227.     0   0   0
  228.   255 255 255
  229.   255 255 255
  230.     0   0   0
  231.     0   0   0
  232.     0   0   0
  233.     0   0   0
  234.   255 255 255
  235.     0   0   0
  236.     0   0 128
  237.   224 224 224
  238.   192 192 192
  239.     0  64 128
  240.   255 255 255
  241.   255 255 255
  242.   255 255 255
  243.     0   0   0
  244.     0   0   0
  245.     0   0   0
  246.   255 255 255
  247.   128 128 128
  248.   255 255 255
  249.   255 255 232
  250.   255 255 255
  251.     0   0 128
  252.     0 128 128
  253.  
  254.  
  255. ΓòÉΓòÉΓòÉ 5. Help for Keep ΓòÉΓòÉΓòÉ
  256.  
  257. This action saves the current colors for future sessions by writing to OS/2's 
  258. OS2.INI file.  OS2.INI is an initialization file that OS/2 processes when the 
  259. system is started. 
  260.  
  261.  
  262. ΓòÉΓòÉΓòÉ 6. Help for Set Color Template ΓòÉΓòÉΓòÉ
  263.  
  264. This action sets the system colors to the colors defined by the currently 
  265. highlighted selection in the Color Templates list box. 
  266.  
  267. To reset the colors back to the ones which were active when this program was 
  268. invoked, click the Reset pushbutton. 
  269.  
  270. When the program loads, it searches the current directory for it's own .INI 
  271. file to load the Color Template names.  If the .INI file is not found, a 
  272. message box is displayed. 
  273.  
  274. If you exit (close) this program (without selecting Keep), the colors will 
  275. remain in effect, however, when the system is shutdown and brought back up 
  276. again, the "original" colors will once again be in effect (since the colors 
  277. were not saved to OS/2's OS2.INI file with the Keep action). 
  278.  
  279. A Color Template name can be specified on the command line. If a parameter is 
  280. given on the command line, the interactive Presentation Manager screen will not 
  281. be invoked. 
  282.  
  283.  
  284. ΓòÉΓòÉΓòÉ 7. Help for Delete ΓòÉΓòÉΓòÉ
  285.  
  286. This action removes a Color Template.  Since you cannot "undelete" a color 
  287. template, you will be prompted to confirm the deletion. 
  288.  
  289.  
  290. ΓòÉΓòÉΓòÉ 8. Help for Set System Color Object ΓòÉΓòÉΓòÉ
  291.  
  292. This action sets the currently selected system object (i.e. WindowStaticText, 
  293. ScrollBar, Background, etc.) in the System Colors listbox to the color 
  294. currently displayed in the sample color region.  This action affects only the 
  295. currently selected system object. 
  296. Selecting Reset or Set Color Template will override the individual colors 
  297. previously set with this option. 
  298.  
  299. The Color Template "Different", although some may think it ugly, serves to 
  300. demonstrate each system object as a different color. 
  301.  
  302.  
  303. ΓòÉΓòÉΓòÉ 9. Help for Save to Color Template ΓòÉΓòÉΓòÉ
  304.  
  305. This action saves the current system colors to an existing or new Color 
  306. Template.   The default color template to save to is the one highlighted in the 
  307. Color Templates list box, however, another template can be specified. 
  308.  
  309. To build (or modify) a template, select the system color object in the System 
  310. Colors listbox that you want to change (i.e. Icon Text, WindowText, Background, 
  311. etc.), use the scrollbars to choose a color, then use Set (next to the System 
  312. Colors listbox) to test the color.  Then, optionally, use save to save the 
  313. changes to a Color Template. 
  314.  
  315.  
  316. ΓòÉΓòÉΓòÉ 10. Help for Write Data File ΓòÉΓòÉΓòÉ
  317.  
  318. This action writes the current color setting codes to a file.  This is handy to 
  319. transfer color setting between systems.  If a friend has colors that you would 
  320. like to add to your Color Templates, simply have him/her save their colors to a 
  321. data file, then use Read to load the colors on your system, and optionally save 
  322. them to a Color Template. 
  323.  
  324.  
  325. ΓòÉΓòÉΓòÉ 11. Loading Templates from Command Line ΓòÉΓòÉΓòÉ
  326.  
  327. A Color Template name can be specified on the command line. 
  328. Command line syntax is: 
  329.  
  330. SYSCOLS ["]templatename["] [/L] 
  331.  
  332. where templatename is space-sensitive but not case-sensitive, and /L indicates 
  333. to load the main System Colors Configuration Presentation Manager screen after 
  334. changing the colors. 
  335.  
  336. Specifying Color Templates on the command line without loading the main screen 
  337. is useful for .CMD files, especially if you run a program that conflicts with 
  338. your default color choices.  Simply put the lines 
  339.  
  340. SYSCOLS "newtemplatename" 
  341. <commands to run confliciting program> 
  342. SYSCOLS "default or oldtemplatename" 
  343.  
  344. in a .CMD file to set colors compatible with the program, run the program, and 
  345. then set the colors back to your favorite selection. 
  346.  
  347. No action is taken if the Color Template name given on the command line is not 
  348. found in this program's .INI file.  Note that the Color Template name is not 
  349. case sensitive, but if the Color Template name consists of two or more words, 
  350. the template name must be enclosed in " ". 
  351.  
  352. For example, 
  353. SYSCOLS "Penn State"    is valid 
  354. SYSCOLS "penn state"    is valid 
  355. SYSCOLS "pEnN sTaTe"    is valid 
  356. SYSCOLS penn state    is not valid 
  357. SYSCOLS pennstate    is not valid 
  358. SYSCOLS PennState    is not valid 
  359.  
  360. If a paramter is given on the command line, the program simply searches for the 
  361. Color Template in the .INI file, and if it is found, the system colors are 
  362. changed.  If the template name is not found, the colors do not change. In 
  363. either case, the Presentation Manager interactive screen is not invoked unless 
  364. /l or /L is given as the second parameter. 
  365. SYSCOLS "penn state"  /l   would change the colors and load the program. 
  366. SYSCOLS "invadid template"  /l   would not change the colors, however the main 
  367. System Colors Configuration Presentation Manager screen would be loaded